import 'package:library_base/entities/generated/json/base/json_field.dart';
import 'package:library_base/entities/generated/json/schedul_entity.g.dart';
import 'dart:convert';

import 'schedul_child_entity.dart';

@JsonSerializable()
class SchedulEntity {
  late List<SchedulChildEntity> list;

  late int total;

  SchedulEntity();

  factory SchedulEntity.fromJson(Map<String, dynamic> json) => $SchedulEntityFromJson(json);

  Map<String, dynamic> toJson() => $SchedulEntityToJson(this);

  @override
  String toString() => json.encode(this);
}
